package com.wellwan.cloud.configuration;

import feign.auth.BasicAuthRequestInterceptor;
import org.springframework.context.annotation.Bean;

/**
 * Copyright (C),微动天下
 * FileName: RibbonConfiguration
 * Author:   maokai
 * Date:     2020/2/22 15:39
 * Description:
 */
//@Configuration
public class BaseAuthConfiguration {
    @Bean
    public BasicAuthRequestInterceptor basicAuthRequestInterceptor() {
        return new BasicAuthRequestInterceptor("user", "password");
    }
}
